package com.sky.service;

import com.sky.dto.OrdersConfirmDTO;
import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersPaymentDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
  OrderSubmitVO submitOrder(OrdersSubmitDTO ordersSubmitDTO);
  
  OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;
  
  void paySuccess(String outTradeNo);
  
  PageResult conditionSearch(OrdersPageQueryDTO queryDTO);
  
  OrderStatisticsVO statistics();
  
  PageResult pageQuery(OrdersPageQueryDTO queryDTO);
  
  OrderVO details(Long id);
  
  void confirm(OrdersConfirmDTO ordersConfirmDTO);
  
  void delivery(Long id);
  
  void complete(Long id);
  
  void userCancelById(Long id) throws Exception;
  
  void repetition(Long id);
}
